package com.sz.stock.service;

import com.sz.stock.model.Entrust;
import com.sz.stock.model.StockBuyOrSale;

import java.math.BigDecimal;
import java.util.List;

public interface IBuyOrSaleService {
    List<StockBuyOrSale> search(String code, String type, BigDecimal price);

    Integer addOrUpdate(Entrust entrust);

    Integer addOrUpdate1(Entrust entrust,Integer num);

    List<StockBuyOrSale> getFive(String code,String type);

    Integer deleteOne(String code, String type, BigDecimal price);

    List<StockBuyOrSale> getAll(String code,String type);

    Integer updateBos(String code, String type, BigDecimal price,Integer num);

    Integer updateBos(StockBuyOrSale stockBuyOrSale);

    List<StockBuyOrSale> get110(String type);

}
